/*
 * @Author: gyk
 * @Date: 2023-12-08 11:51:54
 * @LastEditors: gyk
 * @LastEditTime: 2023-12-11 10:37:53
 * @FilePath: \gnsk-ui\src\utils\auth.js
 * @Description: 
 * 
 */
import Cookies from 'js-cookie'

const TokenKey = 'gnsk-Token'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
